#ifndef EXITLISTENER_H_
#define EXITLISTENER_H_

#include <Ogre.h>
#include <OIS/OIS.h>

class ExitListener : public Ogre::FrameListener
{
	public:
		ExitListener(OIS::Keyboard *keyboard);
		bool frameStarted(const Ogre::FrameEvent &evt);
		virtual ~ExitListener();

	private:
	    OIS::Keyboard *mKeyboard;
		bool isKeyRight;
};

#endif /* EXITLISTENER_H_ */
